﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Repository.Models {
	/// <summary>
	/// 选择题
	/// </summary>
	[Table("ChoiceQuestion")]
	public class ChoiceQ : Question {
		public bool IsMutipleChoice { get; set; }
		public ICollection<Choice>? Choices { get; set; }
		[JsonIgnore]
		public ICollection<ChoiceAnswer>? Answers { get; set; }
	}
}
